package com.company.modules.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.modules.project.entity.LoginTicket;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Xmirror
* @description 针对表【login_ticket(登录凭证)】的数据库操作Mapper
* @createDate 2022-02-26 13:18:50
* @Entity com.company.modules.project.entity.LoginTicket
*/
@Mapper
public interface LoginTicketMapper extends BaseMapper<LoginTicket> {

    /**
     * 查找有效的 LoginTicket
     *
     * @param userId 用户ID
     * @return LoginTicket
     */
    com.company.modules.project.entity.LoginTicket selectLoginTicketByUserId(Integer userId);

}
